module.exports =  function appendStyle(styleSheet) {
  const head = document.querySelector("head");
  const style = document.createElement("style");
  style.innerHTML = styleSheet;
  head.appendChild(style);
  return {
    remove() {head.removeChild(style); return appendStyle;},
    appendStyle
  }
}
